package org.jeecg.modules.arc.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 缴费账户关联水表用户
 * @Author: jeecg-boot
 * @Date:   2022-02-18
 * @Version: V1.0
 */
@Data
@TableName("mws_t_arc_account_meter")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="mws_t_arc_account_meter对象", description="缴费账户关联水表用户")
public class ArcAccountMeter implements Serializable {
    private static final long serialVersionUID = 1L;

	/**ID*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "ID")
    private java.lang.String id;
	/**缴费账户*/
	@Excel(name = "缴费账户", width = 15, dictTable = "mws_t_arc_account", dicText = "code", dicCode = "id")
	@Dict(dictTable = "mws_t_arc_account", dicText = "code", dicCode = "id")
    @ApiModelProperty(value = "缴费账户")
    private java.lang.String accountId;
	/**水表用户*/
	@Excel(name = "水表用户", width = 15)
//	@Excel(name = "水表用户", width = 15, dictTable = "mws_t_arc_customers", dicText = "code", dicCode = "id")
//	@Dict(dictTable = "mws_t_arc_customers", dicText = "code", dicCode = "id")
    @ApiModelProperty(value = "水表用户")
    private java.lang.String cusId;
	/**户名*/
	@Excel(name = "户名", width = 15)
	@ApiModelProperty(value = "户名")
	private java.lang.String cusName;
	/**开始时间*/
//	@Excel(name = "开始时间", width = 15)
    @ApiModelProperty(value = "开始时间")
    private java.lang.String beginTime;
	/**结束时间*/
//	@Excel(name = "结束时间", width = 15)
    @ApiModelProperty(value = "结束时间")
    private java.lang.String endTime;
	/**1,托收，0非托收*/
	@Excel(name = "1,托收，0非托收", width = 15, dicCode = "yn")
	@Dict(dicCode = "yn")
    @ApiModelProperty(value = "1,托收，0非托收")
    private java.lang.Integer isProxy;
	/**收费单位*/
//	@Excel(name = "收费单位", width = 15, dicCode = "fee_proxy_unit")
	@Dict(dicCode = "fee_proxy_unit")
    @ApiModelProperty(value = "收费单位")
    private java.lang.String feeProxyUnit;
	/**托收开始时间*/
//	@Excel(name = "托收开始时间", width = 15)
    @ApiModelProperty(value = "托收开始时间")
    private java.lang.String proxyBeginTime;
	/**托收结束时间*/
//	@Excel(name = "托收结束时间", width = 15)
    @ApiModelProperty(value = "托收结束时间")
    private java.lang.String proxyEndTime;
	/**创建人*/
	@ApiModelProperty(value = "创建人")
	private String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建时间")
	private Date createTime;
	/**最后同步时间*/
	@Excel(name = "最后同步时间", width = 15)
    @ApiModelProperty(value = "最后同步时间")
    private java.lang.String syncDatetime;
	/**状态*/
	@Excel(name = "状态", width = 15)
    @ApiModelProperty(value = "状态")
    private java.lang.Integer status;
	/**同步标识*/
	@Excel(name = "同步标识", width = 15)
    @ApiModelProperty(value = "同步标识")
    private java.lang.Integer syncFlag;
	/**是否删除*/
//	@Excel(name = "是否删除", width = 15)
    @ApiModelProperty(value = "是否删除")
    private java.lang.Integer delFlag;
	/**租户网点*/
//	@Excel(name = "租户网点", width = 15)
    @ApiModelProperty(value = "租户网点")
    private java.lang.Integer tenantId;
}
